package top.songxs.yygh.hosp.service;

import org.springframework.data.domain.Page;
import top.songxs.yygh.model.hosp.Hospital;
import top.songxs.yygh.vo.hosp.HospitalQueryVo;

import java.util.List;
import java.util.Map;

public interface HospitalService {
    void saveHospital(Map<String, String> map);

    Hospital show(Map<String, String> map);

    Page<Hospital> selectPage(Integer pageNum, Integer pageSize, HospitalQueryVo vo);

    void updateStatus(String id, Integer status);

    Map<String, Object> showDetail(String id);

    Object getHospName(String hoscode);

    List<Hospital> findByHosName(String hosname);

    Map<String, Object> item(String hoscode);

    Hospital getByHosCode(String hoscode);
}
